luci-mod-network: fix xhtml markup
authorDirk Brenken <[email protected]>
Sat, 17 Apr 2021 16:15:57 +0000 (19:15 +0300)
committerHannu Nyman <[email protected]>
Sat, 17 Apr 2021 16:15:57 +0000 (19:15 +0300)
* fix markup in interfaces.js (#4980)

Signed-off-by: Dirk Brenken <[email protected]>
(Adapted from commit 2617fcdc631d0b504abdb27bb17d44f26c230cda
 by taking only the .js part.)
Signed-off-by: Hannu Nyman <[email protected]>
modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js

index a10e8552ce5611c2ba051a952fdbc113d8f66c5c..f1e62c13db3a9f455acad9a2fbecb6881275b476 100644 (file)
@@ -672,7 +672,7 @@ return view.extend({
                                        so.depends('ra', 'relay');
 
                                        so = ss.taboption('ipv6', form.Value, 'ra_hoplimit', _('<abbr title="Router Advertisement">RA</abbr> Hop Limit'), _('The maximum hops \
-                                               to be published in <abbr title="Router Advertisement">RA</abbr> messages.<br>Default is 0 (<code>0</code>), meaning unspecified.\
+                                               to be published in <abbr title="Router Advertisement">RA</abbr> messages.<br />Default is 0 (<code>0</code>), meaning unspecified.\
                                                Max 255.'));
                                        so.optional = true;
                                        so.default = '0';
@@ -685,7 +685,7 @@ return view.extend({
                                                <li><strong>stateless</strong>: Router advertises prefixes, host uses <abbr title="Stateless Address Auto Config">SLAAC</abbr> \
                                                to self assign its own address. No DHCPv6.</li>\
                                                <li><strong>stateless + stateful</strong>: SLAAC. In addition, router assigns an IPv6 address to a host via DHCPv6.</li>\
-                                               <li><strong>stateful-only</strong>:  No SLAAC. Router assigns an IPv6 address to a host via DHCPv6.</li><ul>'));
+                                               <li><strong>stateful-only</strong>:  No SLAAC. Router assigns an IPv6 address to a host via DHCPv6.</li></ul>'));
                                        so.value('0', _('stateless'));
                                        so.value('1', _('stateless + stateful'));
                                        so.value('2', _('stateful-only'));